#include <iostream>

using namespace std;

class Base{
public:
    virtual void func(int,long)final{
        cout << "base" << endl;
    }
};

class Sub:public Base{
public:
    void func(int){

    }
};

//class Sun:public Sub{
//public:
//    void func(int,long){

//    }
//};

int main()
{
    Sub s;
    s.func(1,2);

    return 0;
}
